<form action="{U_ACTION}" method="post" name="Profile" {S_FORM_ENCTYPE} accept-charset="utf-8">
<div id="login" class="logi">
<table border="0" cellpadding="3" cellspacing="1" width="100%">
	<tr>
		<td width="40%"><span class="gensmall">_(AVATAR_INFO)</span></td>
		<td align="center"><span class="gen">_(CURRENT_IMAGE)</span><br /><br /><img src="{S_AVATAR}" name="avatar" alt="" /><br /><br />
		<!-- IF S_USER_AVATAR_TYPE ne 0 -->
			<input type="checkbox" name="avatardel" />&nbsp;<span class="gensmall">_(DELETE_IMAGE)</span>
		<!-- ENDIF -->
		</td>
	</tr>
<!-- IF S_ALLOW_REMOTE -->
	<tr>
		<td><span class="gen">_(AVATAR_OFFSITE):</span><br /><span class="gensmall">_(AVATAR_OFFSITEMSG)</span></td>
		<td><input type="text" name="avatarremoteurl" size="40" class="post" style="width: 300px" /></td>
	</tr>
<!-- ENDIF -->
<!-- IF S_ALLOW_LOCAL -->
	<tr>
		<td><span class="gen">_(AVATAR_SELECT):</span></td>
		<td><input type="hidden" name="menu" value="four" /><input type="hidden" name="user_avatar" value="{S_USER_AVATAR}" /><input type="submit" name="avatargallery" value="_(SHOW_GALLERY)" /></td>
	</tr>
<!-- ENDIF -->
<!-- IF S_ALLOW_UPLOAD -->
	<tr>
		<td><span class="gen">_(AVATAR_UPLOAD_URL):</span></td>
		<td><input type="text" name="avatarurl" size="40" class="post" style="width: 300px" /></td>
	</tr><tr>
		<td><span class="gen">_(AVATAR_UPLOAD):</span></td>
		<td><input type="hidden" name="MAX_FILE_SIZE" value="{S_AVATAR_FILESIZE}" /><input type="file" name="avatar" size="40" class="post" /></td>
	</tr>
<!-- ENDIF -->
	<tr>
		<td colspan="2" align="center">
		<input type="hidden" name="id" value="{S_USER_ID}" />
		<input type="hidden" name="save" value="{S_MODE}" />
		<input type="submit" name="submit" value="_(SAVECHANGES)" />&nbsp;&nbsp;<input type="reset" value="_(RESET)" name="reset" />
		</td>
	</tr>
</table>
</div>
</form>
